<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="java.io.PrintWriter"%>
<%@ page import="java.util.*"%>
<%@ page import="javax.servlet.*"%>
<%@page import="model.MonHocM"%>
<%@page import="dao.MonHocD"%>
<%
	MonHocD dao = new MonHocD();
	int strStatus = 0;
	try {
		String ma = request.getParameter("ma");
		int i = dao.getMaMonHoc(ma);
		if (i > 0) {
			strStatus = 1;
		}
	} catch (Exception ex) {
		ex.printStackTrace();
	}
	out.println(strStatus);
%>